﻿@{
    WebSecurity.InitializeDatabaseConnection("StarterSite", "UserProfile", "UserId", "Email", autoCreateTables: true);

    // To let users of this site log in using their accounts from other sites such as Facebook, Twitter, 
    // and Windows Live, you must update this site. For more information visit 
    // http://go.microsoft.com/fwlink/?LinkID=226949

    //OAuthWebSecurity.RegisterOAuthClient(
    //    BuiltInOAuthClient.WindowsLive,
    //    consumerKey: "",
    //    consumerSecret: "");
    
    OAuthWebSecurity.RegisterOAuthClient(
        BuiltInOAuthClient.Twitter,
        consumerKey: "Hb3BtDqbzgdxBUlrMTQ8A",
        consumerSecret: "bUaFr1hRy72tPE8VFBtrFbCauCQcYCbPLuyUX6X5LQ");

    //OAuthWebSecurity.RegisterOAuthClient(
    //    BuiltInOAuthClient.Facebook,
    //    consumerKey: "",         // for FB, consumerKey is called AppID by FB SDK
    //    consumerSecret: "");

    //WebMail.SmtpServer = "mailserver.example.com";
    //WebMail.EnableSsl = true;
    //WebMail.UserName = "username@example.com";
    //WebMail.Password = "your-password";
    //WebMail.From = "your-name-here@example.com";

    // To learn how to optimize scripts and stylesheets in your site go to http://go.microsoft.com/fwlink/?LinkID=248973
}
